package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 药品目录对象 ai_drug
 * 
 * @author wmb
 * @date 2020-07-27
 */
public class Drug extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 药品编码 */
    @Excel(name = "药品编码")
    private String code;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String name;

    /** 实现难度 */
    @Excel(name = "实现难度")
    private Integer realizeType;

    /** $column.columnComment */
    private String delFlag;

    /** $column.columnComment */
    @Excel(name = "实现难度")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRealizeType(Integer realizeType) 
    {
        this.realizeType = realizeType;
    }

    public Integer getRealizeType() 
    {
        return realizeType;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("remark", getRemark())
            .append("realizeType", getRealizeType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .toString();
    }
}
